package ui;


import javafx.application.Application;
import javafx.stage.Stage;
import ui.panel.SetUpStage;
import ui.panel.WelcomeStage;

import java.io.IOException;

public class Main extends Application {

    @Override
    public void start(Stage window) throws Exception {
        WelcomeStage welcome = WelcomeStage.getInstance();
        welcome.show();
        openSourceURL(this);
    }

    public static void main(String[] args) {
        launch(args);
    }

    //点击文本打开网站
    private void openSourceURL(Application application) {
        SetUpStage.getInstance().openSourceURL(application);
    }
}
